package com.yyks.es.dubbo.pojo.model.base;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.elasticsearch.search.sort.SortOrder;

import java.io.Serializable;

/**
 * @author shuai
 * @date 2019/10/09 10:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EsSort implements Serializable {
    private static final long serialVersionUID = -4111837008764427419L;
    /**
     * 属性
     */
    public String property;
    /**
     * 排序
     */
    public SortOrder direction;
}
